package sample;

public class  Cat extends eg5__6Animal {
    public Cat(String name,String color) {
        super(name, color);
    }

    @Override
    public void eat() {
        System.out.println(this.name+" is eating fish.");
    }

    @Override
    public void sleep() {System.out.println(this.name+"is sleeping on the bad.");

    }
}
